{extend name="../front" /}
{block name="head"}<title>我的订单-{:config('site.name')}</title>{/block}
{block name="main"}
<main class="container py-3">
  {include file='navbar' /}
  <div class="card">
    <div class="card-body pb-0">
      <div class="card-title fw-bold mb-3">最近100条订单记录</div>
      {volist name="list" id="item"}
      <div class="card-text w-100 rounded bg-gray p-3 mb-3 text-muted">
        <p><span class="text-dark">名称：</span>{$item.pay_name}</p>
        <p><span class="text-dark">订单：</span>{$item.pay_sign}</p>
        <p><span class="text-dark">金额：</span>{$item.pay_total_fee}</p>
        <p><span class="text-dark">状态：</span>{if $item['pay_status'] > 1}<span class="text-primary">已付款</span>{else/}未支付{/if}</p>
        <p class="mb-0"><span class="text-dark">时间：</span>{$item.pay_create_time|date='Y-m-d H:i:s'}</p>
      </div>
      {/volist}
    </div>
  </div>
</main>
{/block}